package day03;

public class ShapeX {
	public static void main(String[] args) {
		printShapeX();
	}
public static void printShapeX() {
	int i,j;
	for(i=-2;i<=2;i++)
	{
		
		for(j=-2;j<=2;j++)
		{
		   if(Math.abs(i)==Math.abs(j))
			System.out.print("*"+" ");
		   else
			   System.out.print("."+" ");
		}
		System.out.println(" ");
	}
 }
}
